package com.example.bootdemo5.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.bootdemo5.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface IEmployeeDao extends BaseMapper<Employee> {

    /**
     * 自定义SQL语句且分页
     * @param page
     * @return
     */
    IPage<Employee>    queryByPage(IPage<Employee> page);


}
